function requestParamanioLayer() {
  var layer = null;
  var display = settings['photos']["isDisplayable"];
  if (layers['photos'] == null) {
    layer = new google.maps.panoramio.PanoramioLayer();
    // Add click event listener
    google.maps.event.addListener(layer , 'click', function(event) {
      // override the onclick button
    });  
    layers['photos'] = new Object();
  } else {
    layer = layers['photos']["layer"];
  }
  // Display or hide the layer
  if (!display) {
    layer.setMap(map);
  } else {
    layer.setMap(null);
  }
  settings['photos']["isDisplayable"] = !display;
  layers['photos']["layer"] = layer;
}
